 /* Reset básico */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Banner Principal */
.banner {
    background-image: url('imagen/prod.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 50px;
    text-align: center;
}

.banner h1 {
    font-size: 2.5em; /* Ajusta el tamaño del título */
}

.banner p {
    font-size: 1.2em; /* Ajusta el tamaño del párrafo */
}

.banner button {
    background-color: #FF7F50; /* Cambia el color de fondo del botón */
    color: white; /* Cambia el color del texto del botón */
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
}

.banner button:hover {
    background-color: #FF4500; /* Cambia el color del botón cuando pasa el cursor por encima */
}
.banner h1 {
    font-size: 3em;
}

.banner button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

/* Categorías */
.categories {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    padding: 20px;
}

.category {
    text-align: center;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    width: 45%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.category button {
    margin-top: 10px;
    padding: 8px 12px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Productos Destacados */
.productos {
    text-align: center;
    padding: 30px 10px;
}

.productos h2 {
    margin-bottom: 20px;
    font-size: 2em;
}

.productos-red {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.contorno-producto:hover {
    background-color: darkgray;
    animation: desliza 1s 0.5s 2 linear, desaparece 1s 0.5s 2 linear;
    cursor: pointer; /* El cursor se muestra como mano */
    transform: scale(1.1); /* Agranda la imagen en un 10% */
  }


.producto {
    background: #ffffff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 200px;
}

.producto img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.producto p {
    margin-top: 10px;
    font-weight: bold;
    font-size: 1em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    line-height: 1.6;
}
.category {
    position: relative;
    text-align: center;
}
.contenedor_pagina_tienda {
    display: grid;
    grid-template-areas: "contenedor_filtro_tienda  contenedor_filtro_productos";
    grid-template-columns: 20% 1fr;
}

/*contenedor_filtro_tienda*/
.contenedor_filtro_tienda {
    grid-area: contenedor_filtro_tienda;
    width: 100%;
    display: flex;
    flex-direction: column;

    background-color: #fcfcfc;
    padding: 40px 20px;
}

/*contenedor_filtro_productos*/
.contenedor_filtro_productos {
    padding: 40px 0px;
    grid-area: contenedor_filtro_productos;
    width: 100%;
}

/*contenedor_filtro_tienda*/
.contenedor_filtro_tienda .titulo_filtro {
    font-size: 18px;
    font-weight: 700;
}

.contenedor_filtro_tienda input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    width: 24px;
    height: 24px;
    -webkit-appearance: none;
    /* @apply w-6 h-6 appearance-none pointer-events-auto; */
}

.contenedor_filtro_tienda .color_filtro {
    background-color:  #003366;
}

.contenedor_filtro_tienda li a {
    font-size: 16px;
}

.contenedor_filtro_tienda button {
    background-color:  #003366;
    padding: 5px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 600;
}

.contenedor_filtro_tienda button:hover{
    background-color: #003366;
}


@media (max-width: 900px) {
    .contenedor_pagina_tienda {
        width: 100%;
        grid-template-areas:
            "contenedor_filtro_tienda"
            "contenedor_filtro_productos";
        grid-template-columns: 1fr;
    }
}


.category img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.category h2, .category p, .category button {
    position: relative;
    z-index: 2;
    color: white;
}

.category button {
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category button:hover {
    background-color: #0056b3;
}



header .logo img {
    width: 100px;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.contact p {
    font-size: 14px;
}

.banner_producto {
    position: relative;
    background: url('/imagen/limpiadores.png') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
}


.banner h1, .banner p {
    color: #333;
}


.button-with-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.banner button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #d32f2f;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
}

.categories {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 20px;
}

.category {
    text-align: center;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    width: 45%;
    height: 100%;
}

.category h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.category button {
    margin-top: 10px;
    padding: 10px 15px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

